package com.ruoyi.factorydata.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 工序信息对象 process_data
 *
 * @author ruoyi
 * @date 2025-07-12
 */
@Data
@TableName(resultMap = "com.ruoyi.factorydata.mapper.ProcessDataMapper.ProcessDataResult")
public class ProcessData extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 工序编码(规则: 分类缩写+序号)
     */
    @Excel(name = "工序编码(规则: 分类缩写+序号)")
    private String processCode;

    /**
     * 工序名称
     */
    @Excel(name = "工序名称")
    private String processName;

    /**
     * 工序分类ID
     */
    @Excel(name = "工序分类ID")
    private Long categoryId;

    /**
     * 工序类型
     */
    @Excel(name = "工序类型")
    private String processType;

    /**
     * 工单报工
     */
    @Excel(name = "工单报工")
    private String workOrderReporting;

    /**
     * 工序图纸
     */
    @Excel(name = "工序图纸")
    private String processImages;

    /**
     * 附件信息
     */
    @Excel(name = "附件信息")
    private String processAttachments;

    /**
     * 标准工时
     */
    @Excel(name = "标准工时")
    private Long standardWorkingHours;

    /**
     * 辅助工时
     */
    @Excel(name = "辅助工时")
    private Long auxiliaryWorkingHours;

    /**
     * 工序成本
     */
    @Excel(name = "工序成本")
    private BigDecimal processCost;

    /**
     * 技术参数
     */
    @Excel(name = "技术参数")
    private String technicalParameter;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @TableLogic(value = "0", delval = "2")
    private String delFlag;

    /**
     * 版本号
     */
    @Version
    private Long version;

}